<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="editText.css">
</head>
<body>
<div class="edit">
    <form action="" method="post">
        <div class="row">
            <div class="title">发现图片：</div>
            <div class="ipt">
                <input id="titleImg" type="file" accept=".image/gif,.png,.jpg" hidden>
                <a href="javascript:;" class="choice">选择图片</a>
                <a href="javascript:;" class="upload">开始上传</a>
                <p class="tips">请上传960*480大小不超过1M的图片</p>
                <div class="showImg">
                    <img src="" alt="" class="img_view">
                </div>
            </div>
        </div>

        <div class="row">
            <div class="title">发现标题：</div>
            <div class="ipt">
                <input type="text" class="caption" placeholder="不超过30字" maxlength="30" required>
            </div>
        </div>
        <div class="row">
            <div class="title">发现内容：</div>
            <div class="ipt">
                <input type="text" class="caption1" placeholder="不超过30字" maxlength="30" required>
            </div>
        </div>
        <div class="row">
            <div class="title">文本内容：</div>
            <div class="editTextArea" style="width: 100%">
                <textarea id="elm1" name="elm1" class="xheditor" rows="30" cols="80" style="width: 100%"></textarea>
            </div>
        </div>
        <input type="submit" value="提交" class="submit">
    </form>
</div>
<div class="tips_div">

</div>
<script src="../jquery.js"></script>
<script src="editText.js"></script>
<script src="xheditor-1.2.2.min.js"></script>
<script src="zh-cn.js"></script>

</body>
</html>